package com.dragon.modules.yuegou.entity.points;

import com.baomidou.mybatisplus.annotation.TableName;
import com.dragon.modules.yuegou.enums.points.SignInfoSginLogic;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.time.LocalDateTime;

/**
 * 签到说明表实体类<br>
 * 对应的表为：pt_sign_info<br>
 * 
 * @author pbuilder generated
 * @date 2019-04-24 17:38:26
 * @company sgy
 * @version 2.0
 */
@TableName("pt_sign_info")
@ApiModel(description = "签到说明表")
public class SignInfoEntity {

    /**  */
	protected String id;

    /** 商圈id */
	@ApiModelProperty("商圈id")
	protected String busdId;

    /** [枚举]签到逻辑：0-连续签到从第一天开始-STARTFIRST */
	@ApiModelProperty("[枚举]签到逻辑：0-连续签到从第一天开始-STARTFIRST")
	protected SignInfoSginLogic sginLogic;

    /** 签到说明 */
	@ApiModelProperty("签到说明")
	protected String sginExplain;

    /**  */
	protected LocalDateTime createdTime;

    /**  */
	protected String createdBy;

    /**  */
	protected LocalDateTime modifiedTime;

    /**  */
	protected String modifiedBy;

    /** 逻辑删除，1表示已删除,0表示未删除 */
	@ApiModelProperty("逻辑删除，1表示已删除,0表示未删除")
	protected Boolean del;

    /**  */
	protected String delBy;

    /**  */
	protected LocalDateTime delTime;

	/**
	 * 构造一个空签到说明表实体对象
	 */
	public SignInfoEntity(){
		super();
	}

	/**
	 * 依据其它对象的信息构造一个签到说明表实体对象
	 * 
	 * @param other 其它对象
	 */
	public SignInfoEntity(SignInfoEntity other){
		super();
     	this.id = other.id;
     	this.busdId = other.busdId;
     	this.sginLogic = other.sginLogic;
     	this.sginExplain = other.sginExplain;
     	this.createdTime = other.createdTime;
     	this.createdBy = other.createdBy;
     	this.modifiedTime = other.modifiedTime;
     	this.modifiedBy = other.modifiedBy;
     	this.del = other.del;
     	this.delBy = other.delBy;
     	this.delTime = other.delTime;
	}


	/**
	 * 获取
	 * 
	 * @return id 
	 */
	public String getId() {
		return id;
	}
  	
	/**
	 * 设置
	 * 
	 * @param id 
	 */
	public void setId(String id) {
		this.id = id;
	}

	/**
	 * 获取商圈id
	 * 
	 * @return busdId 商圈id
	 */
	public String getBusdId() {
		return busdId;
	}
  	
	/**
	 * 设置商圈id
	 * 
	 * @param busdId 商圈id
	 */
	public void setBusdId(String busdId) {
		this.busdId = busdId;
	}

	/**
	 * 获取[枚举]签到逻辑：0-连续签到从第一天开始-STARTFIRST
	 * 
	 * @return sginLogic [枚举]签到逻辑：0-连续签到从第一天开始-STARTFIRST
	 */
	public SignInfoSginLogic getSginLogic() {
		return sginLogic;
	}
  	
	/**
	 * 设置[枚举]签到逻辑：0-连续签到从第一天开始-STARTFIRST
	 * 
	 * @param sginLogic [枚举]签到逻辑：0-连续签到从第一天开始-STARTFIRST
	 */
	public void setSginLogic(SignInfoSginLogic sginLogic) {
		this.sginLogic = sginLogic;
	}

	/**
	 * 获取签到说明
	 * 
	 * @return sginExplain 签到说明
	 */
	public String getSginExplain() {
		return sginExplain;
	}
  	
	/**
	 * 设置签到说明
	 * 
	 * @param sginExplain 签到说明
	 */
	public void setSginExplain(String sginExplain) {
		this.sginExplain = sginExplain;
	}

	/**
	 * 获取
	 * 
	 * @return createdTime 
	 */
	public LocalDateTime getCreatedTime() {
		return createdTime;
	}
  	
	/**
	 * 设置
	 * 
	 * @param createdTime 
	 */
	public void setCreatedTime(LocalDateTime createdTime) {
		this.createdTime = createdTime;
	}

	/**
	 * 获取
	 * 
	 * @return createdBy 
	 */
	public String getCreatedBy() {
		return createdBy;
	}
  	
	/**
	 * 设置
	 * 
	 * @param createdBy 
	 */
	public void setCreatedBy(String createdBy) {
		this.createdBy = createdBy;
	}

	/**
	 * 获取
	 * 
	 * @return modifiedTime 
	 */
	public LocalDateTime getModifiedTime() {
		return modifiedTime;
	}
  	
	/**
	 * 设置
	 * 
	 * @param modifiedTime 
	 */
	public void setModifiedTime(LocalDateTime modifiedTime) {
		this.modifiedTime = modifiedTime;
	}

	/**
	 * 获取
	 * 
	 * @return modifiedBy 
	 */
	public String getModifiedBy() {
		return modifiedBy;
	}
  	
	/**
	 * 设置
	 * 
	 * @param modifiedBy 
	 */
	public void setModifiedBy(String modifiedBy) {
		this.modifiedBy = modifiedBy;
	}

	/**
	 * 获取逻辑删除，1表示已删除,0表示未删除
	 * 
	 * @return del 逻辑删除，1表示已删除,0表示未删除
	 */
	public Boolean getDel() {
		return del;
	}
  	
	/**
	 * 设置逻辑删除，1表示已删除,0表示未删除
	 * 
	 * @param del 逻辑删除，1表示已删除,0表示未删除
	 */
	public void setDel(Boolean del) {
		this.del = del;
	}

	/**
	 * 获取
	 * 
	 * @return delBy 
	 */
	public String getDelBy() {
		return delBy;
	}
  	
	/**
	 * 设置
	 * 
	 * @param delBy 
	 */
	public void setDelBy(String delBy) {
		this.delBy = delBy;
	}

	/**
	 * 获取
	 * 
	 * @return delTime 
	 */
	public LocalDateTime getDelTime() {
		return delTime;
	}
  	
	/**
	 * 设置
	 * 
	 * @param delTime 
	 */
	public void setDelTime(LocalDateTime delTime) {
		this.delTime = delTime;
	}

    public String toString() {
		return new StringBuilder().append("SignInfoEntity{").
			append("id=").append(id).
			append(",busdId=").append(busdId).
			append(",sginLogic=").append(sginLogic).
			append(",sginExplain=").append(sginExplain).
			append(",createdTime=").append(createdTime).
			append(",createdBy=").append(createdBy).
			append(",modifiedTime=").append(modifiedTime).
			append(",modifiedBy=").append(modifiedBy).
			append(",del=").append(del).
			append(",delBy=").append(delBy).
			append(",delTime=").append(delTime).
			append('}').toString();
    }

	/**
	 * 复制对象
	 * 
	 * @return 复制后的新实体对象
	 */
	public SignInfoEntity copy() {
		return new SignInfoEntity(this);
	}

    /**  */
	public static final String COL_ID = "id";

    /** 商圈id */
	public static final String COL_BUSD_ID = "busd_id";

    /** [枚举]签到逻辑：0-连续签到从第一天开始-STARTFIRST */
	public static final String COL_SGIN_LOGIC = "sgin_logic";

    /** 签到说明 */
	public static final String COL_SGIN_EXPLAIN = "sgin_explain";

    /**  */
	public static final String COL_CREATED_TIME = "created_time";

    /**  */
	public static final String COL_CREATED_BY = "created_by";

    /**  */
	public static final String COL_MODIFIED_TIME = "modified_time";

    /**  */
	public static final String COL_MODIFIED_BY = "modified_by";

    /** 逻辑删除，1表示已删除,0表示未删除 */
	public static final String COL_DEL = "del";

    /**  */
	public static final String COL_DEL_BY = "del_by";

    /**  */
	public static final String COL_DEL_TIME = "del_time";
}
